{extend name="common@admin_base" /}

{block name="head_extends"}
<script type="application/javascript">
    layui.use('table', function() {
        var table = layui.table;
    });
</script>
{/block}
{block name="body"}
<div class="demoTable">
    搜索ID：
    <div class="layui-inline">
        <input class="layui-input" name="userid" id="userid" autocomplete="off">
    </div>
    标题：
    <div class="layui-inline">
        <input class="layui-input" name="username" id="title" autocomplete="off">
    </div>
    作者：
    <div class="layui-inline">
        <input class="layui-input" name="email" id="author" autocomplete="off">
    </div>
    <button class="layui-btn" data-type="reload" id="search"><span class="layui-icon layui-icon-search"></span>搜索</button>
    <a id="reflash" class="layui-btn"><span class="layui-icon layui-icon-refresh"></span>刷新</a>
</div>
<table class="layui-table" lay-data="{ url:'{$_form.admin_account_list}', id:'articles', page: {layout: ['limit', 'count', 'prev', 'page', 'next', 'skip'], groups: 1 }}" lay-filter="articles">
    <thead>
    <tr>
        <!--<th lay-data="{type:'checkbox'}">ID</th>-->
        <th lay-data="{field:'id', minWidth:50, sort: true,width:50}">ID</th>
        <th lay-data="{minWidth:80,width:80,templet:'#get_author'}">银行卡</th>
        <th lay-data="{field:'name', minWidth:80, sort: true,width:100}">类目</th>
        <th lay-data="{field:'amount', minWidth:150, sort: true,width:150}">金额</th>
        <th lay-data="{field:'remark', minWidth:60, sort: true, width:90}">备注</th>
        <th lay-data="{field:'settleTime', minWidth:75, sort: true,width:90}">消费日</th>
        <th lay-data="{field:'countComments', minWidth:75, sort: true,width:90}">评论数</th>
        <th lay-data="{field:'status', minWidth: 80,width:80}">状态</th>
        <th lay-data="{fixed: 'right', align:'center', toolbar: '#tool'}">操作</th>
    </tr>
    </thead>
</table>
{/block}